.linkDefault,
.linkSelected {
  display: flex;
  align-items: center;

  justify-content: center; /* 纵轴（主轴）居中 */
  align-items: center; /* 横轴（交叉轴）居中 */

  padding: rem(6px) 0;
  border-radius: var(--mantine-radius-sm);
}

.linkDefault {
  color: light-dark(var(--mantine-color-gray-7), var(--mantine-color-dark-1));
  @mixin hover {
    color: light-dark(var(--mantine-color-black), var(--mantine-color-white));
    background-color: light-dark(var(--mantine-color-gray-0), var(--mantine-color-dark-6));
  }
}

.linkSelected {
  color: var(--mantine-color-violet-light-color);
  background-color: var(--mantine-color-violet-light);
}
